d0f5745d573f238de6beadd6e3cf323a55b74728,uportal-war/src/main/java/org/jasig/portal/layout/dlm/remoting/UpdatePreferencesServlet.java,UpdatePreferencesServlet,moveElementInternal,#HttpServletRequest#String#String#String#,1129
Before Change
} else if (ulm.getNode(destinationId).getType().equals(IUserLayoutFolderDescription.REGULAR_TYPE)) {
// if the target is a column type node, we need to just move the portlet
// to the end of the folder
ulm.moveNode(sourceId, destinationId, null);
} else {
// If we're moving this element before another one, we need
After Change
String siblingId = isInsert ? destinationId : null;
String target = isInsert ? ulm.getParentId(destinationId) : destinationId;
ulm.moveNode(sourceId, target, siblingId);
}
try {